﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace ASPNET.StarterKit.BusinessLogicLayer
{
    /// <summary>
    /// Summary description for TaxScheme
    /// </summary>
    public class TaxScheme
    {
        //private int _TaxID;
        private string _TaxName;
        private float _TaxPercent;

        public TaxScheme(
           // int TaxID,
            string TaxName,
            float TaxPercent
            )

        {
              // _TaxID=TaxID;
               _TaxName = TaxName;
               _TaxPercent = TaxPercent;
        }


        //public int TaxID
        //{
        //    get {
        //        return _TaxID;
        //    }
        //}

        public string TaxName
        {
            get {
                if(string.IsNullOrEmpty(_TaxName))
                {
                    return string.Empty;
                }
                return _TaxName;
            }
            set{
                _TaxName=value;
            }
        }


        public float TaxPercent
        {
            get{
                return _TaxPercent;
            }
            set{
                _TaxPercent=value;
            }
        }

    }
}



